<?php $categories = $this->requestAction('/Common/navigation'); ?>
<div class="h_container_navigation">
    <div class="main_width">
        <ul class="h_navigation">
            <li>
                <a href="<?php echo $this->Html->url('/home/index/'); ?>"><?php echo __('Home'); ?></a>
            </li>
            <?php if (isset($categories[0]['children'])): ?>
                <?php foreach ($categories[0]['children'] as $category): ?>
                    <li>
                        <a href="<?php echo $this->Html->url('/categories/index/' . $category['Category']['category_id']); ?>"><?php echo $category['category_language'][0]['name'] ?></a>

                    </li>
                <?php endforeach; ?>
            <?php endif; ?>

            <li>
                <a href="<?php echo $this->Html->url('/home/contact/'); ?>"><?php echo __('Contact us'); ?></a>
            </li>
            <li  style="border-right:none;">
                <a href="<?php echo $this->Html->url('/home/landlord/'); ?>"><?php echo __('LandLord'); ?></a>
            </li>
            <div class="clearBoth"></div>
        </ul>
    </div>
</div>






